package com.lzymall.service;

import com.lzymall.common.ServiceResponse;
import com.lzymall.pojo.Category;

import java.util.List;

/**
 * @Author: lizhenyao
 * @Desciption:
 */
public interface ICategoryService {

    ServiceResponse addCategory(String category, Integer panrentId);

    ServiceResponse updateCategoryName(Integer categoryId, String categoryName);

    ServiceResponse<List<Category>> getChildrenParallelCategory(Integer categoryId);

    ServiceResponse<List<Integer>> getCategoryAndDeepChildrenCategory(Integer categoryId);

}
